<?php
/**
 * Created by PhpStorm.
 * User: zhaoye
 * Date: 16/7/17
 * Time: 下午1:48
 */

namespace service;

use ZPHP\Core\Db;
use tool\SendTemplateSMS;
use ZPHP\Core\Log;

class SendSms{

    public function send($tel,$captcha){
        sleep(1);
//        //发送短信验证码
        $sms =  new SendTemplateSMS();
        $sms->sendTemplateSMS($tel,array($captcha,'2'),"171472");
        return 'success';
    }
}